package com.dili.dd.flume.plugin.exthdfs;

/**
 * 按自然时间滚动的单位。
 * 可用值，参考DateTimeFieldType类中的常量
 * 由于DateTimeFieldType中定义的值是private的。不便于在配置中使用。所以提取来
 * Created by zhaoYuan on 2015/4/14.
 */
public enum DateTimeFieldTypeEnum {
    ERA_TYPE,
    YEAR_OF_ERA_TYPE,
    CENTURY_OF_ERA_TYPE,
    YEAR_OF_CENTURY_TYPE,
    YEAR_TYPE,
    DAY_OF_YEAR_TYPE,
    MONTH_OF_YEAR_TYPE,
    DAY_OF_MONTH_TYPE,
    WEEKYEAR_OF_CENTURY_TYPE,
    WEEKYEAR_TYPE,
    WEEK_OF_WEEKYEAR_TYPE,
    DAY_OF_WEEK_TYPE,
    HALFDAY_OF_DAY_TYPE,
    HOUR_OF_HALFDAY_TYPE,
    CLOCKHOUR_OF_HALFDAY_TYPE,
    CLOCKHOUR_OF_DAY_TYPE,
    HOUR_OF_DAY_TYPE,
    MINUTE_OF_DAY_TYPE,
    MINUTE_OF_HOUR_TYPE,
    SECOND_OF_DAY_TYPE,
    SECOND_OF_MINUTE_TYPE,
    MILLIS_OF_DAY_TYPE,
    MILLIS_OF_SECOND_TYPE
}
